package main

import "github.com/kataras/iris/v12"

func main() {
	app := iris.New()
	app.Handle("GET", "/", func(ctx iris.Context) {
		ctx.HTML("<h1>Hello World<h1>")
	})
	app.Run(
		iris.Addr("localhost:8000"),
		iris.WithoutServerError(iris.ErrServerClosed), //无服务错误提示
	)
}
